Optimal. Leaf size=40 \[ \frac{2 b (c+d x)^{3/2}}{3 d^2}-\frac{2 \sqrt{c+d x} (b c-a d)}{d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0129204, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {43} \[ \frac{2 b (c+d x)^{3/2}}{3 d^2}-\frac{2 \sqrt{c+d x} (b c-a d)}{d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin{align*} \int \frac{a+b x}{\sqrt{c+d x}} \, dx &=\int \left (\frac{-b c+a d}{d \sqrt{c+d x}}+\frac{b \sqrt{c+d x}}{d}\right ) \, dx\\ &=-\frac{2 (b c-a d) \sqrt{c+d x}}{d^2}+\frac{2 b (c+d x)^{3/2}}{3 d^2}\\ \end{align*}
Mathematica [A] time = 0.0171093, size = 29, normalized size = 0.72 \[ \frac{2 \sqrt{c+d x} (3 a d-2 b c+b d x)}{3 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 26, normalized size = 0.7 \begin{align*}{\frac{2\,bdx+6\,ad-4\,bc}{3\,{d}^{2}}\sqrt{dx+c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.955858, size = 53, normalized size = 1.32 \begin{align*} \frac{2 \,{\left (3 \, \sqrt{d x + c} a + \frac{{\left ({\left (d x + c\right )}^{\frac{3}{2}} - 3 \, \sqrt{d x + c} c\right )} b}{d}\right )}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86197, size = 63, normalized size = 1.58 \begin{align*} \frac{2 \,{\left (b d x - 2 \, b c + 3 \, a d\right )} \sqrt{d x + c}}{3 \, d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.27413, size = 121, normalized size = 3.02 \begin{align*} \begin{cases} - \frac{\frac{2 a c}{\sqrt{c + d x}} + 2 a \left (- \frac{c}{\sqrt{c + d x}} - \sqrt{c + d x}\right ) + \frac{2 b c \left (- \frac{c}{\sqrt{c + d x}} - \sqrt{c + d x}\right )}{d} + \frac{2 b \left (\frac{c^{2}}{\sqrt{c + d x}} + 2 c \sqrt{c + d x} - \frac{\left (c + d x\right )^{\frac{3}{2}}}{3}\right )}{d}}{d} & \text{for}\: d \neq 0 \\\frac{a x + \frac{b x^{2}}{2}}{\sqrt{c}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05598, size = 53, normalized size = 1.32 \begin{align*} \frac{2 \,{\left (3 \, \sqrt{d x + c} a + \frac{{\left ({\left (d x + c\right )}^{\frac{3}{2}} - 3 \, \sqrt{d x + c} c\right )} b}{d}\right )}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]